// pages/home/home.js
Page({
  fn1() {
    wx.navigateTo({
      // url: '/pages/logs/logs',
      url: '../logs/logs'
    })
  },

  fn2() {
    // wx.navigateTo({
    //   url: '/pages/search/search',
    // })

    wx.switchTab({
      url: '/pages/search/search',
    })
  }
})